package com.jjyu.service.impl;

import com.jjyu.dao.FeedbackMapper;
import com.jjyu.entity.Feedback;
import com.jjyu.service.FeedbackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FeedbackServiceImpl implements FeedbackService {
    @Autowired
    FeedbackMapper mapper;
    @Override
    public int addFeedback(Feedback feedback) {
        return mapper.addFeedback(feedback);
    }
}
